import request from '@/utils/request'

// 查询GooverGUI列表
export function listGooverGUI(query) {
  return request({
    url: '/GooverGUI/GooverGUI/list',
    method: 'get',
    params: query
  })
}

//复习完成
export function submitover() {
  return request({
    url: '/GooverGUI/GooverGUI/submitover',
    method: 'get'
  })
}

// 查询GooverGUI详细
export function getGooverGUI(id) {
  return request({
    url: '/GooverGUI/GooverGUI/' + id,
    method: 'get'
  })
}

// 新增GooverGUI
export function addGooverGUI(data) {
  return request({
    url: '/GooverGUI/GooverGUI',
    method: 'post',
    data: data
  })
}

// 查询标签
export function querylabel(data) {
  return request({
    url: '/GooverGUI/GooverGUI/querylabel',
    method: 'post',
    data: data
  })
}

// 查询标签
export function queryunit(data) {
  return request({
    url: '/GooverGUI/GooverGUI/queryunit',
    method: 'post',
    data: data
  })
}

// 修改GooverGUI
export function updateGooverGUI(data) {
  return request({
    url: '/GooverGUI/GooverGUI',
    method: 'put',
    data: data
  })
}

// 删除GooverGUI
export function delGooverGUI(id) {
  return request({
    url: '/GooverGUI/GooverGUI/' + id,
    method: 'delete'
  })
}
